﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GA.Server.Api
{
    public enum GAServerStatus
    {
        /// <summary>
        /// Has not been Initialized yet.
        /// </summary>
        NotInitialized,

        /// <summary>
        /// Has been initialized, but has not been started.
        /// </summary>
        Initialized,

        /// <summary>
        /// Is starting, not running yet.
        /// </summary>
        Starting,

        /// <summary>
        /// Running normally.
        /// </summary>
        Running,

        /// <summary>
        /// Stop is called, shutting down.
        /// </summary>
        ShuttingDown,

        /// <summary>
        /// Stopped and not running, still initialized.
        /// </summary>
        Stopped,

        /// <summary>
        /// Fatal error. Server ended prematurely.
        /// </summary>
        Failed,

        /// <summary>
        /// Disposed. Unusable in current state because memory is freed up.
        /// </summary>
        Disposed
    }
}
